Call bookmarks_check_add_sensitivity(). (shortcut_exists): New helper
authorFederico Mena Quintero <federico@ximian.com>
Tue, 24 Feb 2004 03:37:32 +0000 (03:37 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Tue, 24 Feb 2004 03:37:32 +0000 (03:37 +0000)
commite4e9e08caf6dba0bcd7f5d975d3618e787738def
tree1c812383d5c124d9e42262d85891f57c06a7b325
parent93732fb225e99e0b9c0bcfe688040bc003f32b57
Call bookmarks_check_add_sensitivity(). (shortcut_exists): New helper

2004-02-23  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
bookmarks_check_add_sensitivity().
(shortcut_exists): New helper function; moved the testing code
over from bookmarks_check_add_sensitivity().
(bookmarks_check_add_sensitivity): Check the contents of the
selection in the file/folder list.  Use shortcut_exists().
(shortcuts_add_bookmark_from_path): Don't insert the bookmark if
the path is already in the shortcuts list.
(add_bookmark_button_clicked_cb): Add the bookmarks from the list
selection or from the current folder, as appropriate.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c